package com.ckf.mongodb_punch.mapper;

import com.ckf.mongodb_punch.entity.Attend;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AttendRepository extends MongoRepository<Attend,String> {

    /**
     * 全查询学生信息
     * @param sign
     * @return
     */
    List<Attend> findAllBySign(Integer sign);
}
